package com.letoken.platform.repo.app.res.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import com.letoken.platform.repo.mall.po.AdminMallAmbassador;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @version 1.0
 * @author： Christopher
 * @date： 2022/1/6 17:42
 */
@Data
@ApiModel(value = "查询用户身份权益响应", description = "查询用户身份权益响应")
public class QueryAmbassadorEquityRes implements Serializable {

    @ApiModelProperty(name = "level", value = "当前推广大使等级")
    private Integer level;
    @ApiModelProperty(name = "levelName", value = "当前推广大使等级名称")
    private String levelName;
    @ApiModelProperty(name = "ecoValue", value = "当前生态建设值")
    private BigDecimal ecoValue;
    @ApiModelProperty(name = "nextLevelName", value = "下一个推广大使等级名称")
    private String nextLevelName;
    @ApiModelProperty(name = "nextLevelEco", value = "下一个等级需要的生态建设值")
    private BigDecimal nextLevelEco;


    @ApiModelProperty(name = "equityList",value = "权益列表")
    List<AdminMallAmbassadorVo> equityList;

    @Data
    public static class AdminMallAmbassadorVo implements Serializable{

        @ApiModelProperty(value = "分红")
        private BigDecimal bonus;

        @ApiModelProperty(value = "需要的生态建设值")
        private BigDecimal eco;

        @ApiModelProperty(value = "等级值")
        private Integer level;

        @ApiModelProperty(value = "权益名称")
        private String levelName;
    }





}
